package rifl.meres4.development.step.impl;

import rifl.meres4.commons.model.ImplementationClass;
import rifl.meres4.commons.model.Software;
import rifl.meres4.commons.step.AbstractWorkflowStep;
import rifl.meres4.development.step.IImplementationStep;

/**
 * Adds 5 new {@link ImplementationClass} to the software components.
 * 
 * @author Mark Czotter
 * @author Miklos Szennai
 * 
 */
public class ImplementationStep extends AbstractWorkflowStep implements
		IImplementationStep {

	@Override
	public Software doStep(Software software) {
		for (int i = 0; i < 5; i++) {
			software.addComponent(new ImplementationClass("ImplClass_" + i));	
		}
		return software;
	}

}
